﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Win104.IEC104
{
    public class ESinglePointWithQuality : EAbstractQuality
    {
        
        public ESinglePointWithQuality(ByteBody data):base(data)
        { }

        public int IsOn()
        {
            return (value >> 0) & 0x01;
        }

        public override string ToString()
        {
            return "单点，是否开闸：" + IsOn() + "，" + base.ToString();
        }
    }
}
